package com.geekaca.d2;

public class OperatorThree {
    public static void main(String[] args) {
        double score = 300;

        String result = score >= 60 ? "合格" : "不合格";
        System.out.println("您的成绩:" + result);

        System.out.println("===================");
        int num1 = 12;
        int num2 = 14;
        int dade;
        dade = num1 > num2 ? num1 : num2;
        System.out.println("较大的数为: "+dade);
    }
}
